package com.boboPlanet.dict.service;

import com.boboPlanet.comm.entity.dto.UploadPPTDTO;
import com.boboPlanet.comm.entity.po.FileDetailPO;
import com.boboPlanet.comm.result.ResponseResult;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.multipart.MultipartFile;

/**
 * @Description: TODO
 * @Author: mis_wu
 * @Date: 2023/7/11
 **/
public interface PlanetFileService {

    Boolean saveFile(FileDetailPO fileDetail);

    FileDetailPO getFileByUrl(String url);

    FileDetailPO getFileById(Long id);


    Boolean deleteFileById(Long id);

    Boolean updatePPTContent(UploadPPTDTO pptDto);

    Boolean updatePPTContentByFile(MultipartFile file, UploadPPTDTO pptDto);
}
